#ifndef _CONFIG_H
#define _CONFIG_H

#include <stdio.h>
#include <stdint.h>
#include "debug_manager.h"
#include "Dlog.h"

#define DLOG_TAG "MIX"


#define DLOG_FILE_NAME  "/tmp/debug"
#define DLOG_FILE_MAX_SIZE  1024*1024
#define DLOG_FILE_MAX_ROTATE 16

#define SOCKET_PATH "/tmp/.reader_socket"   //本地域套接字
#define BUF_SIZE 1024

#define FONT_LIB_NAME "freetype"
#define FONT_FILE_PATH "/media/fonts/"


#define FB_DEVICE_PATH "/dev/fb0"               /*LCD屏幕设备节点*/
#define VIDEO_DEVICE_PATH "/dev/video0"         /*摄像头设备节点*/
#define MOUSE_DEVICE_PATH "/dev/input/event3"   /*鼠标设备节点*/
#define LED_DEVICE_PATH "/dev/smartled"         /* LED设备节点*/
#define DHT11_DEVICE_PATH "/dev/dht11"          /* 温湿度传感器设备节点*/


#define DEFAULT_DIR "/"   /* 文件浏览默认起始路径 */

// #define READER_DIR "/home/root/get/MyObj/04_qt/novel"

// #define IMAGE_DIR "/home/root/get/MyObj/04_qt/picture"

#define READER_DIR "/media/novel"   /*小说默认路径*/
#define MODEL_PATH  "/media/model/my_model_weights.h5"
#define IMAGE_DIR "/media/picture"  /*图片默认路径*/



#define ICON_PATH  "/opt/icon"       /*图标路径*/
#define QT_PATH "./01_smarthome"      /*QT程序路径*/

extern int g_iReaderFontSize;          /*电子书阅读字体大小*/
extern char g_cFontsFile[16];          /*字体风格文件路径*/
extern uint32_t g_BackGroundColor;    /*背景颜色*/
extern uint32_t g_FontsColor;         /*字体颜色*/

#endif 
